bin1=code3
src1=code3.c

bin2=code4
src2=code4.c

$(bin1):$(src1)
	@echo "开始编译"
	@g++ $^ -o $@ -std=c++11 
	@echo "结束编译"

$(bin2):$(src2)
	@echo "开始编译"
	@g++ $^ -o $@ -std=c++11 
	@echo "结束编译"

.PHONY:clean
clean:
	@echo "清理"
	@rm -rf $(bin1)
